import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import echarts from 'echarts';
// 引入reset.css
import '@/assets/css/reset.css'
import '@/assets/css/file/iconfont.css'
// 引入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入moment
import moment from 'moment'

// 引入vxe-table
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'

import Print from 'vue-print-nb'

import VCharts from 'v-charts'
Vue.use(ElementUI)
Vue.prototype.$moment = moment
Vue.prototype.echarts = echarts
import { Loading } from 'element-ui';

// htmlToPdf
import htmlToPdf from './utils/htmlToPdf'
Vue.use(htmlToPdf)

Vue.use(VXETable)
Vue.use(Print)
Vue.use(VCharts)
Vue.prototype.BaseURL = 'http://212.64.12.179:8089/admin/'
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
